package com.zb.automation.util;

import java.time.LocalDateTime;

/**
 * @Description
 * @Author ZhangBin
 * @Data 2022/7/24 17:56
 */
public class LocalDateUtils {
    /**
     * @Author ZhangBin
     * @Date 2022/7/23 14:01
     * @Description获取时间字符串
     */
    public static String nowString(){
        return LocalDateTime.now().toString()
                .replaceAll(":","")
                .replaceAll(" ","")
                .replaceAll("T","")
                .replaceAll("\\.","")
                .replaceAll("-","");
    }

}
